import Mock from 'mockjs'

export function findResultByPrjCode () {
  return {
// isOpen: false,
    url: 'mainData/findResultByPrjCode',
    type: 'post',
    data: {
      'resultStat': '000',
      'failCode': null,
      'mess': null,
      'callBack': null,
      'data': [{
        'projectCode': Mock.Random.string('abcdefghijklmnopqrstuvwxyz0123456789', 20),
        'result': '项目编码19A12SHXQ0802186公共库状态校验通过;项目编码19A12SHXQ0802186财务状态校验通过',
        'operationId': '001',
        'ggkStatus': '1',
        'sysStaus': '1'
      }],
      'redirectURL': null
    }
  }
}

export function findResulteBySettlementCode () {
  return {
// isOpen: false,
    url: '/supplier/findResulteBySettlementCode',
    type: 'post',
    data: {
      'resultStat': '000',
      'failCode': null,
      'mess': null,
      'callBack': null,
      'data': [
        {
          'settlementCode': '2019040613574337630286161',
          'result': '结算单中采购订单PO-jtjcse-4520180912161924336723的累计应付比例超项目状态累计应付比例,',
          'orderNo': 'PO-jtjcse-4520180912161924336723'
        },
        {
          'settlementCode': '2019040613574337630286161',
          'result': '校验通过',
          'orderNo': 'PO-jtjcse-4520181108180026458730'
        }
      ],
      'redirectURL': null
    }
  }
}

export function projectOfFindResultByPrjCode () {
  return {
// isOpen: false,
    url: '/project/findResultByPrjCode',
    type: 'post',
    data: {
      'resultStat': '000',
      'failCode': null,
      'mess': null,
      'callBack': null,
      'data': [
        {
          'prjCode': '18A12HEYC0904891',
          'result': '校验通过'
        }
      ],
      'redirectURL': null
    }
  }
}

export function findPriceBymaterialCode () {
  return {
// isOpen: false,
    url: '/product/findPriceBymaterialCode',
    type: 'post',
    data: {
      'resultStat': '000',
      'failCode': null,
      'mess': null,
      'callBack': null,
      'data': [
        {
          'materialCode': '01010308090701970001',
          'unit': '基',
          'count': '1',
          'result': '不含税金额174309.0000'
        }
      ],
      'redirectURL': null
    }
  }
}

export function findByBindOrder () {
  return {
// isOpen: false,
    url: 'bindOrder/findByBindOrder',
    type: 'post',
    data: {
      'resultStat': '000',
      'failCode': null,
      'mess': null,
      'callBack': null,
      'data': [
        {
          'requestId': 1218072505852003,
          'siteId': '522732908001900062',
          'towerRoomId': '005288430200000046798935',
          'crmDescChina': '楼面抱杆',
          'flang': '塔',
          'message': '可以绑定',
          'code': 9
        },
        {
          'requestId': 1218072505852238,
          'siteId': '330183500000001812',
          'towerRoomId': '',
          'crmDescChina': '简易塔',
          'flang': '塔',
          'message': '资源ID不存在',
          'code': 4
        }
      ],
      'redirectURL': null
    }
  }
}

export function findComplianceByBindOrder () {
  return {
// isOpen: false,
    url: 'bindOrder/findComplianceByBindOrder',
    type: 'post',
    data: {
      'resultStat': '000',
      'failCode': null,
      'mess': null,
      'callBack': null,
      'data': [
        {
          'requestId': '1116013102247559',
          'roomId': '000102050000000002257745',
          'towerId': '003688430200000051255224',
          'message': '不合规(机房高配低售) ',
          'code': 4
        }
      ],
      'redirectURL': null
    }
  }
}

export function findResultByPrjCode2 () {
  return {
// isOpen: false,
    url: '/mainData/findResultByPrjCode',
    type: 'post',
    data: {
      'resultStat': '000',
      'failCode': null,
      'mess': null,
      'callBack': null,
      'data': [
        {
          'projectCode': '19A12SHXQ0802186',
          'result': '项目编码19A12SHXQ0802186公共库状态校验通过;项目编码19A12SHXQ0802186财务状态校验通过',
          'operationId': '001',
          'ggkStatus': '1',
          'sysStaus': '1'
        }
      ],
      'redirectURL': null
    }
  }
}

export function findMessage () {
  return {
// isOpen: false,
    url: '/mark/findMessage',
    type: 'post',
    data: {
      'resultStat': '000',
      'failCode': null,
      'mess': null,
      'callBack': null,
      'data': [
        {
          'requestId': '10002211',
          'markStatus': '1',
          'message': '1'
        },
        {
          'requestId': '100002233',
          'markStatus': '1',
          'message': '1'
        }
      ],
      'redirectURL': null
    }
  }
}

export function curingBinding () {
  return {
// isOpen: false,
    url: '/order/curingBinding',
    type: 'post',
    data: {
      'resultStat': '000',
      'failCode': null,
      'mess': null,
      'callBack': null,
      'data': [
        {
          'resId': '003588430200000051323537',
          'orderCode': '1116052426069800',
          'orderType': '1',
          'message': '是，订单服务未终止，未退租订单编码【1116052426069800】、订单类型【1】',
          'status': '2'
        },
        {
          'resId': '000102050000000000000443',
          'orderCode': '',
          'orderType': '',
          'message': '否，无绑定订单',
          'status': '3'
        }
      ],
      'redirectURL': null
    }
  }
}

export function findOrderByStationCode () {
  return {
// isOpen: false,
    url: '/noInitialOrder/findOrderByStationCode',
    type: 'post',
    data: {
      'resultStat': '000',
      'failCode': null,
      'mess': null,
      'callBack': null,
      'data': [
        {
          'stationCode': '440106500000000020',
          'customer': '电信',
          'crmOrderCode': '1218101006041615',
          'crmOrderState': '订单取消',
          'price': 100,
          'startDate': '2018-01-16 00:00:00',
          'endDate': null
        },
        {
          'stationCode': '440106500000000020',
          'customer': '电信',
          'crmOrderCode': '1217090400547708',
          'crmOrderState': '订单取消',
          'price': 100,
          'startDate': '2018-01-17 00:00:00',
          'endDate': null
        },
        {
          'stationCode': '440106500000000020',
          'customer': '移动',
          'crmOrderCode': '1218031201005186',
          'crmOrderState': '服务终止',
          'price': 100,
          'startDate': '2018-01-17 00:00:00',
          'endDate': '2019-02-01 00:00:00'
        },
        {
          'stationCode': '440106500000000020',
          'customer': '移动',
          'crmOrderCode': '1015120400831933',
          'crmOrderState': '服务终止',
          'price': 100,
          'startDate': '2015-12-22 00:00:00',
          'endDate': '2019-02-01 00:00:00'
        },
        {
          'stationCode': '440106500000000020',
          'customer': '移动',
          'crmOrderCode': '1015121200874509',
          'crmOrderState': '服务终止',
          'price': 100,
          'startDate': '2015-12-24 00:00:00',
          'endDate': '2019-02-01 00:00:00'
        },
        {
          'stationCode': '440106500000000020',
          'customer': '联通',
          'crmOrderCode': '1015101000549482',
          'crmOrderState': '服务终止',
          'price': 100,
          'startDate': '2016-01-01 00:00:00',
          'endDate': '2019-02-01 00:00:00'
        },
        {
          'stationCode': '440106500000000020',
          'customer': '移动',
          'crmOrderCode': '1015081200222728',
          'crmOrderState': '服务终止',
          'price': 100,
          'startDate': '2015-11-04 00:00:00',
          'endDate': '2019-02-01 00:00:00'
        }
      ],
      'redirectURL': null
    }
  }
}

export function findCuringByID () {
  return {
// isOpen: false,
    url: '/curing/findCuringByID',
    type: 'post',
    data: {
      'resultStat': '000',
      'failCode': null,
      'mess': null,
      'callBack': null,
      'data': [
        {
          'resid': '000102050000000000987111',
          'ismark': '0'
        },
        {
          'resid': '000102050000000001617162',
          'ismark': '0'
        },
        {
          'resid': '000102050000000001000503',
          'ismark': '1'
        },
        {
          'resid': '000188430000000000741742',
          'ismark': '1'
        }
      ],
      'redirectURL': null
    }
  }
}

export function increaseCheck () {
  return {
// isOpen: false,
    url: '/contract/increaseCheck',
    type: 'post',
    data: {
      'resultStat': '000',
      'failCode': null,
      'mess': null,
      'callBack': null,
      'data': {
        'ContractInfoList': [
          {
            'contractid': 'df8debfe-568d-4ebc-b187-e456919845f7',
            'contractno': 'CTC-HJSJ-ZM-203526',
            'contractstate': '履行中',
            'validdatestart': '2015-11-01',
            'validdateend': '2027-11-30',
            'ccontractid': null,
            'isSpecialInvoice': '否',
            'paydate': null,
            'totalmoney': '36000.00',
            'singleYearMoney': null,
            'rentIncreaseCeiling': null,
            'paymoney': '36000.00',
            'taxrate': null
          },
          {
            'contractid': 'f05622c5-f801-47db-a2f8-4ad85864f998',
            'contractno': 'CTC-HJSJ-ZM-203526-1',
            'contractstate': '履行中',
            'validdatestart': '2019-12-01',
            'validdateend': '2027-11-30',
            'ccontractid': null,
            'isSpecialInvoice': '否',
            'paydate': null,
            'totalmoney': '24000.00',
            'singleYearMoney': '3000.00',
            'rentIncreaseCeiling': '3000.00',
            'paymoney': null,
            'taxrate': null
          }
        ],
        'orderInfo': {
          'requestId': '1116040504144273',
          'requestStatus': '已起租',
          'custCompany': '联通',
          'siteId': '130130908000000128',
          'siteRentMode': '1',
          'isIncreaseUnifyRent': null,
          'unifyIncrease': null,
          'fieldRent': '3000.00',
          'coordinationFee': '0.00',
          'landRequisitionFee': '0.00',
          'fieldFee': '0.00',
          'otherSiteRent': '0.00'
        },
        'RenewContractList': [],
        'RentCardList': [
          {
            'cardCode': '130130908000000128-02',
            'contractCode': 'CTC-HJSJ-ZM-203526',
            'cardAccountantCourse': '长摊',
            'cardSource': '合同',
            'amortizationBeginDate': '2019-12-01',
            'amortizationEndDate': '2027-11-01',
            'originalCost': '24000.00',
            'amortizationAmount': '250.00',
            'accumulatedAmortization': '1750.00',
            'amortizationMonths': '96'
          }
        ],
        'OtherOrderList': [
          {
            'siteId': '130130908000000128',
            'requestId': '1116040503974612',
            'requestStatus': '已起租',
            'custCompany': '联通',
            'siteRentMode': '逐站点定价',
            'fieldRent': '6000.00',
            'coordinationFee': '0.00',
            'landRequisitionFee': '0.00',
            'fieldFee': '0.00',
            'otherSiteRent': '0.00'
          },
          {
            'siteId': '130130908000000128',
            'requestId': '1116040504099171',
            'requestStatus': '已起租',
            'custCompany': '联通',
            'siteRentMode': '逐站点定价',
            'fieldRent': '3000.00',
            'coordinationFee': '0.00',
            'landRequisitionFee': '0.00',
            'fieldFee': '0.00',
            'otherSiteRent': '0.00'
          },
          {
            'siteId': '130130908000000128',
            'requestId': '1116040504144273',
            'requestStatus': '已起租',
            'custCompany': '联通',
            'siteRentMode': '逐站点定价',
            'fieldRent': '3000.00',
            'coordinationFee': '0.00',
            'landRequisitionFee': '0.00',
            'fieldFee': '0.00',
            'otherSiteRent': '0.00'
          }
        ]
      },
      'redirectURL': null
    }
  }
}

export function searchByID22 () {
  return {
// isOpen: false,
    url: '/log/search/data',
    type: 'post',
    data: {
      'resultStat': '000',
      'failCode': null,
      'mess': null,
      'callBack': null,
      'data': {
        'resultStat': '000',
        'failCode': null,
        'mess': null,
        'callBack': null,
        'data': [
          {
            'logId': 1291656802487869441,
            'reqId': 1291656802487869440,
            'scene': '1.6',
            'logType': 0,
            'logLevel': 'INFO',
            'logData': '["{datas:[\\n{\\"longitude\\": \\"22.33\\",\\n \\"latitude\\": \\"23\\",\\n \\"coverScene\\": \\"02\\",\\n \\"typeId\\":\\"\\" \\"12323232232\\",\\n \\"districtId\\":\\"技术部\\"\\n }]\\n}"]',
            'message': '',
            'createTime': '2020-08-07 16:45:54'
          },
          {
            'logId': 1291656792023080960,
            'reqId': 1291656791763034112,
            'scene': '1.5',
            'logType': 2,
            'logLevel': 'INFO',
            'logData': '{"data":[{"crmDescChina":"楼面抱杆","requestId":"1218072505852003","siteId":"522732908001900062","towerRoomId":"005288430200000046798935"},{"code":4,"crmDescChina":"简易塔","message":"资源ID不存在,请查询正确资源ID","requestId":"1218072505852238","siteId":"330183500000001812","towerRoomId":""}],"resultStat":"000"}',
            'message': '',
            'createTime': '2020-08-07 16:45:51'
          },
          {
            'logId': 1291656791763034113,
            'reqId': 1291656791763034112,
            'scene': '1.5',
            'logType': 0,
            'logLevel': 'INFO',
            'logData': '["{datas:[\\t\\n{\\"requestId\\": 1218072505852003,\\t\\nsiteId: \\"522732908001900062\\",\\t\\ntowerRoomId: \\"005288430200000046798935\\",\\t\\ncrmDescChina: \\"楼面抱杆\\",\\t\\nflang:\\"塔\\"\\t\\n},\\t\\n{\\"requestId\\": 1218072505852238,\\t\\nsiteId: \\"330183500000001812\\",\\t\\ntowerRoomId: \\"\\",\\t\\ncrmDescChina: \\"简易塔\\",\\t\\nflang:\\"塔\\"\\t\\n}]\\t\\n}\\t"]',
            'message': '',
            'createTime': '2020-08-07 16:45:51'
          },
          {
            'logId': 1291655315917479937,
            'reqId': 1291655315917479936,
            'scene': '1.6',
            'logType': 0,
            'logLevel': 'INFO',
            'logData': '["{datas:[\\n{\\"longitude\\": \\"22.33\\",\\n \\"latitude\\": \\"23\\",\\n \\"coverScene\\": \\"02\\",\\n \\"typeId\\":\\"\\" \\"12323232232\\",\\n \\"districtId\\":\\"技术部\\"\\n }]\\n}"]',
            'message': '',
            'createTime': '2020-08-07 16:39:59'
          },
          {
            'logId': 1291655268832223232,
            'reqId': 1291655268597342208,
            'scene': '1.5',
            'logType': 2,
            'logLevel': 'INFO',
            'logData': '{"data":[{"crmDescChina":"楼面抱杆","requestId":"1218072505852003","siteId":"522732908001900062","towerRoomId":"005288430200000046798935"},{"code":4,"crmDescChina":"简易塔","message":"资源ID不存在,请查询正确资源ID","requestId":"1218072505852238","siteId":"330183500000001812","towerRoomId":""}],"resultStat":"000"}',
            'message': '',
            'createTime': '2020-08-07 16:39:48'
          }
        ],
        'redirectURL': null
      },
      'redirectURL': null
    }
  }
}

export function searchByID223 () {
  return {
// isOpen: false,
    url: '/log/search/count',
    type: 'post',
    data: {
      'resultStat': '000',
      'failCode': null,
      'mess': null,
      'callBack': null,
      'data': {
        'resultStat': '000',
        'failCode': null,
        'mess': null,
        'callBack': null,
        'data': [
          {
            'createTime': '2020-08-01',
            'count': 25
          },
          {
            'createTime': '2020-08-02',
            'count': 34
          },
          {
            'createTime': '2020-08-03',
            'count': 50
          },
          {
            'createTime': '2020-08-04',
            'count': 34
          },
          {
            'createTime': '2020-08-05',
            'count': 25
          },
          {
            'createTime': '2020-08-06',
            'count': 34
          },
          {
            'createTime': '2020-08-07',
            'count': 50
          },
          {
            'createTime': '2020-08-08',
            'count': 15
          },
          {
            'createTime': '2020-08-09',
            'count': 38
          },
          {
            'createTime': '2020-08-10',
            'count': 55
          }
        ],
        'redirectURL': null
      },
      'redirectURL': null
    }
  }
}

export function findSiteDetail () {
  return {
// isOpen: false,
    url: '/site/findSiteDetail',
    type: 'post',
    data: {
      'resultStat': '000',
      'failCode': null,
      'mess': null,
      'callBack': null,
      'data': [
        {
          'ownerTypeName': '企业',
          'ownerType': '11',
          'coverScene': '03',
          'typeId': '12',
          'max': '34',
          'min': '10',
          'avg': '27',
          'longitude': '103',
          'latitude': '122.32342323',
          'orgName': '北京海淀分公司',
          'cpi': '100',
          'houseP': '100'
        },
        {
          'ownerTypeName': '个人',
          'ownerType': '1',
          'coverScene': '03',
          'typeId': '12',
          'max': '20',
          'min': '10',
          'avg': '17',
          'longitude': '103',
          'latitude': '122.32342323',
          'orgName': '北京海淀分公司',
          'cpi': '100',
          'houseP': '100'
        }
      ],
      'redirectURL': null
    }
  }
}

export function reinder () {
  return {
// isOpen: false,
    url: '/risk/reinder',
    type: 'post',
    data: {
      'resultStat': '000',
      'failCode': null,
      'mess': null,
      'callBack': null,
      'data': [
        {
          'returnCode': '8888',
          'verifyCode': '1',
          'returnMsg': '该合同【CTC-ZBZB-2016-000634】已下单金额【】+【本次下单金额】大于合同总金额，下单失败，请联系商合系统支撑。'
        }
      ],
      'redirectURL': null
    }
  }
}

export function dbSrvInvokeTrend () {
  return {
// isOpen: false,
    url: '/audit/dbSrvInvokeTrend',
    type: 'get',
    data: {
      'resultStat': '000',
      'failCode': null,
      'mess': null,
      'callBack': null,
      'data': {
        'resultStat': '000',
        'failCode': null,
        'mess': null,
        'callBack': null,
        'data': [
          {
            'day': '2020-06-01',
            'number': 15
          },
          {
            'day': '2020-06-02',
            'number': 23
          },
          {
            'day': '2020-06-03',
            'number': 55
          },
          {
            'day': '2020-06-04',
            'number': 125
          },
          {
            'day': '2020-06-05',
            'number': 33
          },
          {
            'day': '2020-06-06',
            'number': 95
          },
          {
            'day': '2020-06-07',
            'number': 9
          },
          {
            'day': '2020-06-08',
            'number': 195
          },
          {
            'day': '2020-06-09',
            'number': 45
          },
          {
            'day': '2020-06-10',
            'number': 231
          },
          {
            'day': '2020-06-11',
            'number': 126
          },
          {
            'day': '2020-06-12',
            'number': 51
          },
          {
            'day': '2020-06-13',
            'number': 69
          },
          {
            'day': '2020-06-14',
            'number': 87
          }
        ],
        'redirectURL': null
      },
      'redirectURL': null
    }
  }
}

export function auditSrvInvokeTrend () {
  return {
// isOpen: false,
    url: '/audit/auditSrvInvokeTrend',
    type: 'get',
    data: {
      'resultStat': '000',
      'failCode': null,
      'mess': null,
      'callBack': null,
      'data': {
        'resultStat': '000',
        'failCode': null,
        'mess': null,
        'callBack': null,
        'data': [{
          'day': '2020-06-01',
          'number': 15
        },
        {
          'day': '2020-06-02',
          'number': 23
        },
        {
          'day': '2020-06-03',
          'number': 55
        },
        {
          'day': '2020-06-04',
          'number': 125
        },
        {
          'day': '2020-06-05',
          'number': 33
        },
        {
          'day': '2020-06-06',
          'number': 95
        },
        {
          'day': '2020-06-07',
          'number': 9
        },
        {
          'day': '2020-06-08',
          'number': 195
        },
        {
          'day': '2020-06-09',
          'number': 45
        },
        {
          'day': '2020-06-10',
          'number': 231
        },
        {
          'day': '2020-06-11',
          'number': 126
        },
        {
          'day': '2020-06-12',
          'number': 51
        },
        {
          'day': '2020-06-13',
          'number': 69
        },
        {
          'day': '2020-06-14',
          'number': 87
        }
        ],
        'redirectURL': null
      },
      'redirectURL': null
    }
  }
}

export function tableData () {
  return {
// isOpen: false,
    url: '/audit/tableData',
    type: 'get',
    data: [
      {
        id: '1',
        scense: '项目状态实时获取',
        number: 1398
      },
      {
        id: '2',
        scense: '采购、入库、付款单据匹配检查',
        number: 23456
      },
      {
        id: '3',
        scense: ' 工程物资一致性检查',
        number: 937
      },
      {
        id: '4',
        scense: '物资参考价提示',
        number: 3471
      },
      {
        id: '5',
        scense: '产品与资源一致性检查',
        number: 4912
      }
// {
//   id: '5',
//   scense: '站址周边场租水平提示',
//   number: 5014,
// },
// {
//   id: '6',
//   scense: '退租订单的在途业务提示',
//   number: 7231,
// },
// {
//   id: '7',
//   scense: '集中出账加速详单计算',
//   number: 9016,
// },
    ]
  }
}
/*
/bindOrder/findByBindOrder
/site/findSiteDetail
/risk/reinder
/mark/findMessage
/order/curingBinding
/noInitialOrder/findOrderByStationCode
/curing/findCuringByID
/contract/increaseCheck
*/
